package Library;
import java.io.Serializable;
import java.sql.Date;

/**
 * 
 */

/**
 * @author mishel hen
 *
 */
public class Books2 implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 7301255037878768190L;
	private int bookId;
    private String bookName;
    private String author;
    private Integer edition;
    private String datePrinted;
    private String scope;
    private String description;
    private int catalogNum;
    private int numCopies;
    private int rank;
    private String purchaseDate;
    private int shelfLocation;
    private String returnDate;
    private byte[] b;

    

    
	/**
	 * 
	 */





	/**
	 * @param bookId
	 * @param bookName
	 * @param author
	 * @param edition
	 * @param string
	 * @param scope
	 * @param description
	 * @param catalogNum
	 * @param numCopies
	 * @param purchaseDate
	 * @param shelfLocation
	 */
	public Books2(int bookId, String bookName, String author, int edition,
			String string, String scope, String description,
			int catalogNum, int numCopies, String purchaseDate,
			int shelfLocation,int rank,byte[] bytes) {
		this.bookId = bookId;
		this.bookName = bookName;
		this.author = author;
		this.edition = edition;
		this.datePrinted = string;
		this.scope = scope;
		this.description = description;
		this.catalogNum = catalogNum;
		this.numCopies = numCopies;
		this.purchaseDate = purchaseDate;
		this.shelfLocation = shelfLocation;
		this.rank=rank;
		this.b=bytes;
		
	}





	/**
	 * @return the bookId
	 */
	public Integer getBookId() {
		return bookId;
	}





	/**
	 * @param bookId the bookId to set
	 */
	public void setBookId(int bookId) {
		this.bookId = bookId;
	}

	
	



	public byte[] getb()
	{
		return b;
	}


	/**
	 * @return the bookName
	 */
	public String getBookName() {
		return bookName;
	}





	/**
	 * @param bookName the bookName to set
	 */
	public void setBookName(String bookName) {
		this.bookName = bookName;
	}





	/**
	 * @return the author
	 */
	public String getAuthor() {
		return author;
	}





	/**
	 * @param author the author to set
	 */
	public void setAuthor(String author) {
		this.author = author;
	}





	/**
	 * @return the edition
	 */
	public Integer getEdition() {
		return edition;
	}





	/**
	 * @param edition the edition to set
	 */
	public void setEdition(Integer edition) {
		this.edition = edition;
	}





	/**
	 * @return the datePrinted
	 */
	public String getDatePrinted() {
		return datePrinted;
	}





	/**
	 * @param datePrinted the datePrinted to set
	 */
	public void setDatePrinted(String datePrinted) {
		this.datePrinted = datePrinted;
	}





	/**
	 * @return the scope
	 */
	public String getScope() {
		return scope;
	}





	/**
	 * @param scope the scope to set
	 */
	public void setScope(String scope) {
		this.scope = scope;
	}





	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}





	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}





	/**
	 * @return the catalogNum
	 */
	public int getCatalogNum() {
		return catalogNum;
	}





	/**
	 * @param catalogNum the catalogNum to set
	 */
	public void setCatalogNum(int catalogNum) {
		this.catalogNum = catalogNum;
	}





	/**
	 * @return the numCopies
	 */
	public int getNumCopies() {
		return numCopies;
	}

	public int getRank() {
		return rank;
	}



	/**
	 * @param numCopies the numCopies to set
	 */
	public void setNumCopies(int numCopies) {
		this.numCopies = numCopies;
	}





	/**
	 * @return the purchaseDate
	 */
	public String getPurchaseDate() {
		return purchaseDate;
	}





	/**
	 * @param purchaseDate the purchaseDate to set
	 */
	public void setPurchaseDate(String purchaseDate) {
		this.purchaseDate = purchaseDate;
	}





	/**
	 * @return the shelfLocation
	 */
	public int getShelfLocation() {
		return shelfLocation;
	}





	/**
	 * @param shelfLocation the shelfLocation to set
	 */
	public void setShelfLocation(int shelfLocation) {
		this.shelfLocation = shelfLocation;
	}





	/**
	 * @return the returnDate
	 */
	public String getReturnDate() {
		return returnDate;
	}





	/**
	 * @param returnDate the returnDate to set
	 */
	public void setReturnDate(String returnDate) {
		this.returnDate = returnDate;
	}

	
}
